package qq2564874169.tuaotuao.fx.utils;

public class ExUtil {
    public static RuntimeException toRuntime(Throwable e) {
        if (e instanceof RuntimeException) {
            return ((RuntimeException) e);
        }
        return new RuntimeException(e);
    }
}
